export const getCommonTableHeight = () => {
  let tableH = 0;
  // console.log('window.innerHeightwindow.innerHeight',window.innerHeight);
  
  let containerH = window.innerHeight - 80;

  // el-tabs__header is-top

  // let tabsH = document.querySelector('.tabs_box').offsetHeight;
  let searchH = 40;
  // console.log(searchH, "scroll");
  //let tbBottomH = document.querySelector('.sr_table_bottom').offsetHeight;
  let totalPagePadding = 90;
  let tbBottomH = 92;
  //tableH = containerH - (tabsH + searchH + totalPagePadding + tbBottomH + 24)
  tableH = containerH - (searchH + tbBottomH + totalPagePadding);
  // console.log("表格高度为:" + tableH + "搜索高度为:" + searchH);

  return tableH;
};
